#ifndef IRECORDABLE_H_
#define IRECORDABLE_H_
#include <sstream>
using namespace std;

namespace Entities {

class IRecordable {

protected:

	IRecordable() {}

public:

	virtual void fillEntity(char *buffer, unsigned int bufferSize) = 0;
	virtual char* buildBuffer() = 0;
	virtual unsigned int getBufferSize() = 0;
	virtual unsigned int getEntityID() = 0;
	virtual void setEntityID(unsigned int entityID) = 0;

	virtual ~IRecordable(){}
};

}

#endif /* IRECORDABLE_H_ */
